package com.cyzy.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cyzy.mapper.DriverMapper;
import com.cyzy.pojo.Driver;
import com.cyzy.pojo.Passenger;
import com.cyzy.service.DriverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DriverServiceImpl extends ServiceImpl<DriverMapper, Driver> implements DriverService {
    @Autowired
    private DriverMapper driverMapper;

    @Override
    public List<Driver> selectDriverList() {
        return driverMapper.selectDriverList();
    }
}
